package com.lgc.webtest.dao.primary;

import com.lgc.webtest.entity.domain.UserDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao {
	/**
	   * 获取用户主账户信息
	 * @param userId 用户Id
	 * @return  当前登陆用户信息
	 */
	UserDO getUserByUserId(@Param("userId") String userId);
	int insertUserAccount(UserDO userAccount);
	/**
	 * 修改用户账户信息
	 * @param userDO
	 */
	int updateUserAccountByUserId(UserDO userDO);

//	List<UserDO> getUserAccountListByUserIds(@Param("userIds") List<String> userIds, @Param("offset") int offset, @Param("limit") int limit);
}
